import request from "@/common/untils/request.js"

// 获取验证码
export function getCaptcha() {
  return request({
    url: "/api/base/captcha",
    method: "post"
  })
}

// 登录
export function login(data) {
  return request({
    url: "/data/api-v/auth/login",
    method: "post",
    data
  })
}
// 登出
export function logout(data) {
  return request({
    url: "/data/api-v/auth/logout",
    method: "get",
    data
  })
}
